<template>
  <a-layout-footer class="global-footer">
    <div class="footer-content">
      <p class="copyright">
        猴赛雷原创项目 by
        <a
          href="https://www.housailei.xyz"
          target="_blank"
          rel="noopener noreferrer"
          class="author-link"
        >
          程序员 hsl
        </a>
      </p>
    </div>
  </a-layout-footer>
</template>

<script setup lang="ts">
// 页脚组件，无需额外逻辑
</script>

<style scoped>
.global-footer {
  background: #f0f2f5;
  border-top: 1px solid #e8e8e8;
  padding: 16px 0;
  text-align: center;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.copyright {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

.author-link {
  color: #1890ff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.author-link:hover {
  color: #40a9ff;
  text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .footer-content {
    padding: 0 16px;
  }

  .copyright {
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .footer-content {
    padding: 0 12px;
  }

  .copyright {
    font-size: 12px;
  }
}
</style>
